﻿#ifndef AIVOICEPARTNER_H
#define AIVOICEPARTNER_H

#include <QMainWindow>
#include <QSound>
#include "audio_dev.h"
#include "xunfei_iat.h"

QT_BEGIN_NAMESPACE
namespace Ui { class AIVoicePartner; }
QT_END_NAMESPACE

class AIVoicePartner : public QMainWindow
{
    Q_OBJECT

public:
    AIVoicePartner(QWidget *parent = nullptr);
    ~AIVoicePartner();
    void udatelog(QString content);

private slots:
    void on_act_record_pressed();

    void on_act_record_released();

    void on_sendmsg_clicked();
    void on_initsys_clicked();

    void on_audiodevs_currentIndexChanged(int index);

signals:
    void call_sendAudio();
private:
    Ui::AIVoicePartner *ui;
    Audio_dev* audio_dev;
    Xunfei_iat* xunfei_iat;
};
#endif // AIVOICEPARTNER_H
